package com.nbst.model.mes;

import com.nbst.model.base.WMSBase;

/**
 * @ClassName: ApplyItemEntry
 * @Description:物料申请单表体t_apply_item_entry的model层
 * @author: HuXinshuai
 * @date: 2018年10月26日 下午3:57:48
 * @Copyright: 宁波沙塔. All rights reserved.
 */
public class ApplyItemEntry extends WMSBase {
	/** 物料出库申请表头id */
	private Integer fApplyId;

	/** 物料出库申请表体id */
	private Integer fEntryId;

	/** 物料名称 */
	private String fName;

	/** 物料代码 */
	private String fNumber;

	/** 物料内码 */
	private Integer fItemId;

	/** 应发数 */
	private Double fQty;

	/** 物料单位id */
	private Integer fUnitID;

	/** 仓库id */
	private Integer fStockId;

	/** 仓位id */
	private Integer fSPID;

	/** 是否立库 */
	private Integer lkflag;

	/** 关闭标志 0关闭 */
	private Integer fClosed;

	/** 物料属性 */
	private Integer fErpClsID;

	/** 用量 */
	private Double fAmount;

	/** 规格型号 */
	private String fModel;

	/** 单位 */
	private String fUnit;

	/** 实发数 */
	private Double fActualQty;

	/** 投料单分录 */
	private Integer fPpBomEntryId;

	/** 仓库 */
	private String fStock;

	/** 库位 */
	private String fSPName;

	/** 排序号 */
	private Integer fRank;

	/** 仓库库存 */
	private Double fStockQty;

	/** 前端定义的助记码 */
	private String Mcode;

	/** 临时存放实发数量 */
	private Double lQty;

	/** 临时存放实发辅助数 */
	private Double lAuxQty;

	/** 应发辅助数 */
	private Double fAuxQty;

	/** 换算率 */
	private Double fSecCoefficient;

	/** 已发辅助数 */
	private Double fActualAuxQty;

	public String getfUnit() {
		return fUnit;
	}

	public void setfUnit(String fUnit) {
		this.fUnit = fUnit;
	}

	public String getfModel() {
		return fModel;
	}

	public void setfModel(String fModel) {
		this.fModel = fModel;
	}

	public Integer getLkflag() {
		return lkflag;
	}

	public void setLkflag(Integer lkflag) {
		this.lkflag = lkflag;
	}

	public Integer getfErpClsID() {
		return fErpClsID;
	}

	public void setfErpClsID(Integer fErpClsID) {
		this.fErpClsID = fErpClsID;
	}

	public Double getfAmount() {
		return fAmount;
	}

	public void setfAmount(Double fAmount) {
		this.fAmount = fAmount;
	}

	public String getfName() {
		return fName;
	}

	public Integer getfApplyId() {
		return fApplyId;
	}

	public void setfApplyId(Integer fApplyId) {
		this.fApplyId = fApplyId;
	}

	public Integer getfEntryId() {
		return fEntryId;
	}

	public void setfEntryId(Integer fEntryId) {
		this.fEntryId = fEntryId;
		super.setfEntryID(fEntryId);
	}

	public void setfName(String fName) {
		this.fName = fName == null ? null : fName.trim();
	}

	public String getfNumber() {
		return fNumber;
	}

	public void setfNumber(String fNumber) {
		this.fNumber = fNumber == null ? null : fNumber.trim();
	}

	public Integer getfItemId() {
		return fItemId;
	}

	public void setfItemId(Integer fItemId) {
		this.fItemId = fItemId;
		super.setfItemID(fItemId);
	}

	public Double getfQty() {
		return fQty;
	}

	public void setfQty(Double fQty) {
		this.fQty = fQty;
	}

	public Integer getfUnitID() {
		return fUnitID;
	}

	public void setfUnitID(Integer fUnitID) {
		this.fUnitID = fUnitID;
	}

	public Integer getfStockId() {
		return fStockId;
	}

	public void setfStockId(Integer fStockId) {
		this.fStockId = fStockId;
		super.setfStockID(fStockId);
	}

	public Integer getfSPID() {
		return fSPID;
	}

	public void setfSPID(Integer fSPID) {
		this.fSPID = fSPID;
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public Double getfActualQty() {
		return fActualQty;
	}

	public void setfActualQty(Double fActualQty) {
		this.fActualQty = fActualQty;
	}

	public Integer getfPpBomEntryId() {
		return fPpBomEntryId;
	}

	public void setfPpBomEntryId(Integer fPpBomEntryId) {
		this.fPpBomEntryId = fPpBomEntryId;
	}

	public String getfStock() {
		return fStock;
	}

	public void setfStock(String fStock) {
		this.fStock = fStock;
	}

	public String getfSPName() {
		return fSPName;
	}

	public void setfSPName(String fSPName) {
		this.fSPName = fSPName;
	}

	public Integer getfRank() {
		return fRank;
	}

	public void setfRank(Integer fRank) {
		this.fRank = fRank;
	}

	public Double getfStockQty() {
		return fStockQty;
	}

	public void setfStockQty(Double fStockQty) {
		this.fStockQty = fStockQty;
	}

	public String getMcode() {
		return Mcode;
	}

	public void setMcode(String mcode) {
		Mcode = mcode;
	}

	public Double getlQty() {
		return lQty;
	}

	public void setlQty(Double lQty) {
		this.lQty = lQty;
	}

	public Double getfAuxQty() {
		return fAuxQty;
	}

	public void setfAuxQty(Double fAuxQty) {
		this.fAuxQty = fAuxQty;
	}

	public Double getfSecCoefficient() {
		return fSecCoefficient;
	}

	public void setfSecCoefficient(Double fSecCoefficient) {
		this.fSecCoefficient = fSecCoefficient;
	}

	public Double getlAuxQty() {
		return lAuxQty;
	}

	public void setlAuxQty(Double lAuxQty) {
		this.lAuxQty = lAuxQty;
	}

	public Double getfActualAuxQty() {
		return fActualAuxQty;
	}

	public void setfActualAuxQty(Double fActualAuxQty) {
		this.fActualAuxQty = fActualAuxQty;
	}

	@Override
	public String toString() {
		return "ApplyItemEntry [Mcode=" + Mcode + ", fActualAuxQty=" + fActualAuxQty + ", fActualQty=" + fActualQty
				+ ", fAmount=" + fAmount + ", fApplyId=" + fApplyId + ", fAuxQty=" + fAuxQty + ", fClosed=" + fClosed
				+ ", fEntryId=" + fEntryId + ", fErpClsID=" + fErpClsID + ", fItemId=" + fItemId + ", fModel=" + fModel
				+ ", fName=" + fName + ", fNumber=" + fNumber + ", fPpBomEntryId=" + fPpBomEntryId + ", fQty=" + fQty
				+ ", fRank=" + fRank + ", fSPID=" + fSPID + ", fSPName=" + fSPName + ", fSecCoefficient="
				+ fSecCoefficient + ", fStock=" + fStock + ", fStockId=" + fStockId + ", fStockQty=" + fStockQty
				+ ", fUnit=" + fUnit + ", fUnitID=" + fUnitID + ", lAuxQty=" + lAuxQty + ", lQty=" + lQty + ", lkflag="
				+ lkflag + "]";
	}
}